<%@ page language="java" import="java.util.*" contentType="text/html; charset=utf-8"%>
<%@ include file="/WEB-INF/layouts/base.jsp"%>
<!DOCTYPE HTML>
<html>
<head>
<title>创建管理员</title>
<link rel="stylesheet" href="${ctxsta}/admin/main/css/style.css" />
<link rel="stylesheet" href="${ctxsta}/common/icheck/flat/green.css" />
</head>
<body class="gray-bg">
<div class="wrapper wrapper-content animated fadeInRight">
  <div class="row">
  <form id="form" class="form-horizontal">
  	<input type="hidden" name = "productId" value="${osProductVo.productId}">
    <div class="col-sm-12">
      <div class="ibox float-e-margins">
        <div class="ibox-title">
          <h5>基本信息<small> 添加带销售产品。</small></h5>
          <div class="ibox-tools"> <a class="collapse-link"><i class="fa fa-chevron-up"></i></a> <a class="close-link"><i class="fa fa-times"></i></a> </div>
        </div>
        <div class="ibox-content">
          
            <div class="form-group m-t">
              <label class="col-sm-2 control-label">商品名称:</label>
              <div class="col-sm-4">
                <input type="text" maxlength="10" class="form-control" name="name" value="${osProductVo.name}">
              </div>
              <label class="col-sm-2 control-label">显示价格：</label>
              <div class="col-sm-4">
                <input type="text" maxlength="18" class="form-control" name="showPrice" value="${osProductVo.showPrice}">
              </div>
            </div>
            <div class="form-group m-t">
              <label class="col-sm-2 control-label">商品简介:</label>
              <div class="col-sm-4">
                <input type="text" maxlength="10" class="form-control" name="introduce" value="${osProductVo.introduce}">
              </div>
              <label class="col-sm-2 control-label">搜索关键词:</label>
              <div class="col-sm-4">
                <input type="text" maxlength="18" class="form-control" name="searchKey" value="${osProductVo.searchKey}">
              </div>
            </div>
            <div class="form-group m-t">
              <label class="col-sm-2 control-label">展示图片:</label>
              <div class="col-sm-4">
                <input type="text" maxlength="10" class="form-control" name="picImg" value="${osProductVo.picImg}">
              </div>
              <label class="col-sm-2 control-label">商品标签:</label>
              <div class="col-sm-4">
                <select class='form-control' name="">
				<option value=''>--请选择--</option>
				<option value='1'>热销</option>
				<option value='2'>新品</option>
				<option value='3'>现货</option>
				<option value='4'>有赠品</option>
				</select>
              </div>
            </div>
            <div class="hr-line-dashed"></div>
            <div class="form-group">
              <label class="col-sm-2 control-label">是否是明星产品:</label>
              <div class="col-sm-4">
                <label class="radio-inline add-radio"><input type="radio" name="starProduct" value="1" checked="checked">&nbsp;是</label>
                <label class="radio-inline add-radio"><input type="radio" name="starProduct" value="0">&nbsp;否</label>
              </div>
              <label class="col-sm-2 control-label">商品状态:</label>
              <div class="col-sm-4">
                <label class="radio-inline add-radio"><input type="radio"  name="status" value="0">&nbsp;新增</label>
                <label class="radio-inline add-radio"><input type="radio" name="status" value="1" checked="checked">&nbsp;上架</label>
                <label class="radio-inline add-radio"><input type="radio" name="status" value="2">&nbsp;下架</label>
              </div>
            </div>
            <div class="form-group m-t">
              <label class="col-sm-2 control-label">显示首页导航条上:</label>
              <div class="col-sm-4">
                <label class="radio-inline add-radio"><input type="radio" name="showInNav" value="1" checked="checked">&nbsp;是</label>
                <label class="radio-inline add-radio"><input type="radio" name="showInNav" value="0">&nbsp;否</label>
              </div>
            </div>
            <div class="hr-line-dashed"></div>
            <div class="form-group">
              <label class="col-sm-2 control-label">页面标题:</label>
              <div class="col-sm-4">
                <input type="text" class="form-control" name="pageTitle" value="${osProductVo.pageTitle}">
              </div>
              <label class="col-sm-2 control-label">页面描述:</label>
              <div class="col-sm-4">
                <input type="text" maxlength="11" class="form-control" name="pageDescription" value="${osProductVo.pageDescription}">
              </div>
            </div>
            <div class="hr-line-dashed"></div>
            <div class="form-group">
              <label class="col-sm-2 control-label">页面关键词:</label>
              <div class="col-sm-4">
                <input type="text" class="form-control" name="pageKeyword" value="${osProductVo.pageKeyword}">
              </div>
            </div>
            <div class="hr-line-dashed"></div>
            <div class="form-group">
              <label class="col-sm-2 control-label">备注:</label>
              <div class="col-sm-10">
                <textarea class="form-control" rows="2" name="remarks" placeholder="请输入消息..." style="margin: 0px -17.675px 0px 0px; height: 50px; width: 100%;">${osProductVo.remarks}</textarea>
              </div>
            </div>
          
        </div>
      </div>
    </div>
    
    <div class="col-sm-12">
      <div class="ibox float-e-margins">
        <div class="ibox-title">
          <h5>商品描述<small> 添加带销售产品。</small></h5>
          <div class="ibox-tools"> <a class="collapse-link"><i class="fa fa-chevron-up"></i></a> <a class="close-link"><i class="fa fa-times"></i></a> </div>
        </div>
        <div class="ibox-content">
            <div class="form-group m-t">
              <label class="col-sm-2 control-label">描述：</label>
              <div class="col-sm-10">
                <textarea class="form-control" rows="2" name="description" placeholder="请输入消息..." style="margin: 0px -17.675px 0px 0px; height: 50px; width: 100%;">${osProductVo.description}</textarea>
              </div>
            </div>
            <div class="hr-line-dashed"></div>
            <div class="form-group">
              <div class="col-sm-4 col-sm-offset-4 add-submit">
                <input type="hidden" class="form-control" name="userId" value="${user.userId}">
                <button class="btn btn-primary" type="submit" id="submit">提交</button>
              </div>
            </div>
        </div>
      </div>
    </div>
    
    
    </form>
  </div>
</div>
<myfooter> 
  <!-- iCheck --> 
  <script src="${ctxsta}/common/icheck/icheck.min.js"></script> 
  <!-- bootstrapvalidator-master前端验证框架 --> 
  <script src="${ctxsta}/common/bootstrapvalidator-master/js/bootstrapValidator.min.js"></script> 
  <!-- 自定义js --> 
  <script src="${ctxsta}/goods/main/js/goods_list_set_product.js"></script> 
</myfooter>
</body>
</html>
